import Layout from '@/layout'
export default{
  path: '/departments',
    component:Layout,
    children:[
      {
        //如果子路由时''空字符串,当前路由自动匹配
        path:'',
        name:'departments',
        component: () => import('@/views/departments/departments.vue'),
        meta: { title: '组织架构', icon: 'tree' }
      }
    ]
}